const label = '表单子项';
const name = 'formItem';

export default {
    icon: 'icon-space',
    label,
    name,
    inside: true,
    drag: true,
    dragBtn: false,
    rule() {
        return {
            type: 'el-form-item',
            wrap: {
                show: false
            },
            props:{
                label:'ItemLabel'
            },
            native: false,
            style: {
                'padding-left':'10px'
            },
            children: [],
        };
    },
    props() {
        return [
          {type: 'input', field: 'label', title: 'Label'},

            {
                type: 'Struct',
                field: 'formCreateStyle',
                value: {
                },
                title: '样式',
                props: {
                    defaultValue: {},
                    validate(val) {
                        return true
                    }
                }
            },

        ];
    }
};
